@import './../../../lib/reset.scss';
* { touch-action: none; }
.shop {
  background: #f3f3f3;
  height: 100%;
  overflow-y: scroll;
  .emptyshop {
    .shoppingCart-null {
      text-align: center;
      margin-bottom: .4rem;
      img {
        @include rect(1rem, 1rem);
        display: inline-block;
        margin: .6rem 0 .15rem;
      }
      .shoppingCart-null-label {
        color: #666;
        font-size: .13rem;
      }
      .go-home-page {
        width: 1.1rem;
        text-align: center;
        line-height: .3rem;
        color: #fff;
        background: #ff7100;
        border-radius: .15rem;
        font-size: .14rem;
        display: inline-block;
        margin-top: .25rem;
      }
    }
    .shoppingCart-wrap {
      overflow-x: hidden;
      overflow-y: auto;
      .shoppingCart-goods-list {
        background-color: #fff;
        margin-top: .16rem;
        position: relative;
      }
    }
  }
  .haveshop {
    background: #f3f3f3;
    height: 100%;
    overflow-y: scroll;
    .top {
      padding-bottom: .5rem;
      .cart-header {
        background: #fff;
        padding: .075rem 0 .075rem .15rem;
        .cart-type-box {
          display: inline-block;
          vertical-align: middle;
          border-radius: .03rem;
          overflow: hidden;
          display: inline-block;
          border: .01rem solid #ff7100;
          font-size: .13rem;
          color: #ff7100;
          .selected {
            background: #ff7100;
            color: #fff;
            display: inline-block;
            width: .9rem;
            line-height: .25rem;
            text-align: center;
          }
        }
        .border-left {
          display: inline-block;
          vertical-align: middle;
          border-left: .01rem solid #f3f3f3;
          width: .55rem;
          text-align: center;
          color: #bfbfbf;
          line-height: .15rem;
          margin-top: .07rem;
          float: right;
        }
      }
      .goods-location-box {
        background: #fff;
        line-height: .44rem;
        color: #333;
        font-size: .14rem;
        margin-bottom: .01rem;
        padding: 0 .15rem;
        position: relative;
        .icon-goods-location {
          margin-right: .1rem;
          font-size: .15rem;
          vertical-align: middle;
          color: #999;
        }
        .address-box {
          width: 3rem;
          display: inline-block;
          white-space: nowrap;
          overflow: hidden;
          vertical-align: middle;
          text-overflow: ellipsis;
        }
        .trangel {
          display: inline-block;
          margin-left: .04rem;
          position: absolute;
          top: .22rem;
          right: .12rem;
          width: 0;
          height: 0;
          border-right: .04rem solid transparent;
          border-left: .04rem solid transparent;
          border-top: .04rem solid #999;
        }
      }
      .goods-delivery-method {
        display: flex;
        width: 100%;
        background: #fff;
        span {
          text-align: center;
          font-size: .13rem;
          line-height: .4rem;
          position: relative;
          color: #666;
          flex: 1;
          &.selected {
            color: #ff7100;
            .bottom-line {
              display: inline-block;
              width: .35rem;
              height: .0rem;
              background: #ff7100;
              position: absolute;
              left: 50%;
              margin-left: -.175rem;
              bottom: 0;
            }
          }
        }
      }
      .shoppingCart-wrap {
        overflow-x: hidden;
        overflow-y: auto;
        .shoppingCart-goods-list {
          background-color: #fff;
          margin-top: .08rem;
          .list1 {
            border-bottom: .005rem solid #f3f3f3;
            padding: 0 .15rem;
            border-top: .01rem solid #f3f3f3;
            display: flex;
            justify-content: space-between;
            align-items: center;
            .shoppingCart-goods-content {
              width: .78rem;
              flex: 1;
              display: flex;
              justify-content: space-between;
              vertical-align: middle;
              padding: .15rem 0 .15rem .125rem;
              .shoppingCart-goods-cover {
                width: .78rem;
                height: .78rem;
                margin-right: .12rem;
                display: inline-block;
                vertical-align: top;
                position: relative;
                padding: 0;
                border: 0;
                img {
                  width: .78rem;
                  height: .78rem;
                  display: block;
                }
              }
              .goods-content-box {
                display: inline-block;
                width: 2.15rem;
                height: .78rem;
                padding: 0;
                flex: 1;
                .shoppingCart-goods-title {
                  font-size: .13rem;
                  color: #333;
                  overflow: hidden;
                  text-overflow: ellipsis;
                  display: -webkit-box;
                  -webkit-box-orient: vertical;
                  -webkit-line-clamp: 2;
                  margin-bottom: .04rem;
                  word-break: break-all;
                }
                .shoppingCart-price-box {
                  line-height: .22rem;
                  display: flex;
                  justify-content: space-between;
                  .real-price {
                    color: #ff7100;
                    font-size: .14rem;
                    display: inline-block;
                    vertical-align: top;
                  }
                  .goods-number-box {
                    vertical-align: top;
                    display: inline-block;
                    margin-top: -.02rem;
                    float: right;
                    .changenum {
                      width: .25rem;
                      line-height: .2rem;
                      box-sizing: border-box;
                      border: .01rem solid #ebebeb;
                      text-align: center;
                      display: inline-block;
                      font-size: .12rem;
                      vertical-align: middle;
                      padding: 0;
                      max-height: .22rem;
                      min-height: .22rem;
                      color: #999;
                      &.goods-num-mius {
                        border-radius: .02rem 0 0 .02rem;
                      }
                      &.goods-num-plus {
                        color: #ff7100;
                        border-radius: 0 .02rem .02rem 0;
                      }
                      &.goods-num-box {
                        border-right: 0;
                        border-left: 0;
                        color: #333;
                        width: .2rem;
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
    .shoppingCart-bottom-nav {
      position: fixed;
      left: 0;
      right: 0;
      bottom: .5rem;
      padding-left: .15rem;
      line-height: .44rem;
      height: .44rem;
      z-index: 9;
      background-color: #fff;
      border-top: .005rem solid #f3f3f3;
      display: flex;
      justify-content: space-between;
      align-items: center;
      .shoppingCart-check-box {
        height: .2rem;
        width: .2rem;
        border-radius: 50%;
        box-sizing: border-box;
        line-height: .18rem;
        color: #ff7100;
        background: #fff;
        border: none;
        font-size: .2rem;
      }
      .select-all {
        font-size: .14rem;
        margin-left: .1rem;
        color: #666;
      }
      .pull-right {
        flex:1;
        text-align: right;
        .shoppingCart-all-price {
          color: #ff7100;
          font-size: .15rem;
          margin-top: .05rem;
          line-height: .17rem;
        }
        .no-contain-freight {
          font-size: .12rem;
          color: #999;
          text-align: right;
          line-height: .17rem;
        }
      }
      .shoppingCart-goto-pay {
        background-color: #ff7100;
        border-color: #ff7100;
        color: #fff;
        width: 1rem;
        text-align: center;
        font-size: .14rem;
        height: .44rem;
        line-height: .44rem;
        border-radius: 0;
        margin-left: .15rem;
      }
    }
  }
  input[type='checkbox'] {
    cursor: pointer;
    width: .2rem;
    height: .2rem;
    font-size: 0.2rem;
    visibility: hidden;
  }
  input[type='checkbox']::after {
    background-color: #ff7100;
    color: #fff;
    width: .2rem;
    height: .2rem;
    display: inline-block;
    visibility: visible;
    text-align: center;
    content: ' ';
    border-radius: 50%;
  }
  
  input[type='checkbox']:checked::after {
    content: '✔';
    font-size: 0.2rem;
    font-weight: .2rem;
  }
}